package informationHW;
import java.util.Scanner;
public class ScannerTest {
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        System.out.print("请输入你的姓名：");
        String name = scan.next();

        System.out.print("请输入你的年纪：");
        int age = scan.nextInt();

        System.out.print("请输入你的体重：");
        double weight = scan.nextDouble();

        scan.close();

    }
}
